﻿CREATE TABLE [PR].[AdditionalFields] (
    [Id]             INT             IDENTITY (1, 1) NOT NULL,
    [DocId]          INT             NULL,
    [DocDate]        SMALLDATETIME   NULL,
    [ManualSumma]    DECIMAL (19, 2) NULL,
    [ManualNDSSumma] DECIMAL (19, 2) NULL,
    [ManualNDSTax]   TINYINT         NULL,
    [Mark]           VARCHAR (50)    NULL,
    [MD]             DATETIME        NULL,
    CONSTRAINT [PK__AdditionalFields__0A7E65A1] PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [UQ__AdditionalFields__0B7289DA] UNIQUE NONCLUSTERED ([DocId] ASC)
);

